Smush\Core\LCP\LCP_Controller S

Total Complexity 45
Dependencies 11
Dependents 1
Total lines 223
Lines of code 150
Logical lines of code 89
Comment lines 32
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
handle_lcp_data()
A
53 10 20
ajax_handle_lcp_data()
A
53 8 20
preload_lcp_images()
S
55 5 19
remove_fetchpriority_attribute()
S
61 5 13
maybe_enqueue_detector_script()
S
53 4 23
should_run()
S
73 3 5
clear_cache()
S
65 3 10
__construct()
S
57 1 15
ajax_mark_all_lcp_data_as_dirty()
S
67 2 8
register_lcp_transform()
S
76 1 4
clear_post_lcp_data()
S
69 1 7
mark_all_lcp_data_as_dirty()
S
82 1 3
do_lcp_data_updated_action()
S
79 1 3